import React from 'react'

export default function Login(props) {
    console.log(props)
    return (
        <div>
            <h1>登录</h1>
            <input type="text" />
            <button type="submit" onClick={() => {
                localStorage.setItem('token', "123456");
                props.history.goBack();
            }}>提交</button>
        </div>
    )
}
